package nus.edu.sg.config;

import java.util.Properties;

public class Config {
	Properties configFile;
	   public Config()
	   {
	    configFile = new java.util.Properties();
	    try {	    	
	    	
	      configFile.load(this.getClass().getClassLoader().getResourceAsStream("resources/config.cfg"));
	    }catch(Exception eta){
	        eta.printStackTrace();
	    }
	   }
	 
	   public String getProperty(String key)
	   {
	    String value = this.configFile.getProperty(key);
	    return value;
	   }

}
